package com.luna.service;

import com.luna.beans.User;

import java.util.List;

public interface UserService {
    public User login(String username, String password);
    public User getUser(int user_id);
    public List<User> userList();
    public boolean addUser(User user);
    public boolean dropUser(int user_id);
    public boolean updatePassword(String username, String password, String newPassword);
    public boolean restricted(int user_id, int state);
}
